﻿@model BudgetApp.Data.Models.TrackBill

@{
    ViewBag.Title = "Details";
}

<div class="col-md-12">
    <h2>Details</h2>

    <div>
        <h4>TrackBill</h4>
        <hr />
        <dl class="dl-horizontal">

            <dt>
                @Html.DisplayNameFor(model => model.InputType.Type)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.InputType.Type)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Category.CategoryType)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Category.CategoryType)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.SubCategory.SubCategoryType)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.SubCategory.SubCategoryType)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.DateDue)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.DateDue)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Amount)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Amount)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Description)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Description)
            </dd>

        </dl>
    </div>
    <p>
        @Html.ActionLink("Edit", "Edit", new { id = Model.BillId }) |
        @Html.ActionLink("Back to List", "Index")
    </p>
</div>